//
//  CustomButton.h
//  VaramozhiEditor
//
//  Created by jijo on 4/16/13.
//
//

#import <UIKit/UIKit.h>
@protocol ButtonClickDelegate;

@interface CustomButton : UIView <UIGestureRecognizerDelegate>{
    
    NSInteger actionTagg;
    id <ButtonClickDelegate> btndelegate;
}

@property(nonatomic, assign) NSInteger actionTagg;
@property(nonatomic) id <ButtonClickDelegate> btndelegate;

- (id)initWithFrame:(CGRect)frame Tag:(NSInteger)actionTag Title:(NSString *)btnTitle Image:(UIImage *)image;

@end


@protocol ButtonClickDelegate <NSObject>

- (void) buttonClicked:(NSInteger)actionTag;
@end